package com.bridge;

/**
 * 手机样式抽象类 聚合品牌的抽象接口
 */
public abstract class PhoneStyle {

    private Brand brand;

    public PhoneStyle(Brand brand) {
        this.brand = brand;
    }

    protected void open() {
        brand.open();
    }

    protected void call() {
        brand.call();
    }

    protected void close() {
        brand.close();
    }
}
